.swiper {
  width: 750px;
  position: relative;
  margin: 20px auto 0;
  overflow: hidden;
  .swiper-wrap {
    height: 200px;
    .swiper-item {
      width: 540px;
      height: 160px;
      overflow: hidden;
      top: 20px;
      position: absolute;
      z-index: 8;
      border-radius: 4px;
      transition: all 0.5s;
      img {
        width: 100%;
        height: 100%;
        opacity: 0.5;
        transition: opacity 0.5s;
      }
      &.swiper-active {
        height: 200px;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 10;
        img {
          opacity: 1;
        }
      }
      &.swiper-prev,
      &.swiper-next {
        &.swiper-prev {
          left: 0;
          z-index: 9;
        }
        &.swiper-next {
          z-index: 9;
          right: 0;
        }
      }
    }
    .prev-btn,
    .next-btn {
      position: absolute;
      z-index: 11;
      font-size: 20px;
      top: 50%;
      margin-top: -20px;
      color: #fff;
      display: none;
      &.prev-btn {
        left: 5px;
      }
      &.next-btn {
        right: 5px;
      }
    }
    &:hover .btn {
      display: block;
    }
  }
  .swiper-pagination {
    text-align: center;
    span {
      display: inline-block;
      width: 6px;
      height: 6px;
      background-color: #e5e5e5;
      border-radius: 50%;
      margin-left: 10px;
      &.active {
        background-color: #d13c37;
      }
    }
  }
}
